<div id="container">
	<div id="sidebar">
		<ul class="sideNav">
			<li><a href="<?php Yii::app()->request->baseUrl; ?>/adminka/qbanners/add">Добавить банер</a></li>
			<li><a href="<?php Yii::app()->request->baseUrl; ?>/adminka/qbanners/edit" class="active">Редактировать банеры</a></li>
		</ul>
	</div>

<div id="main">

<div id="baners_list">
	<ul>
		<?php foreach( $banners as $key )
		{ ?>
			
			<li style="margin:20px 0px 20px 0px;">
			
			<p><label for="baners"><?php echo $key->place; ?></label></p>
			<img src="/images/baners/<?php echo $key->image; ?>"/>
				<div>
				<p>/images/baners/<?php echo $key->image; ?>
				<?php echo "<a href='/adminka/qbanners/del/id/".$key->id_baner."'><img src='".Yii::app()->request->baseUrl."/images/adminicons/delete.png' /></a>" ?></p>
				
				<div>
			</li>
			

		<?php } ?>
	</ul>
</div>

</div>